home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / system / cpcug.zip / COLORSET.DOC < prev    next >
Text File  |  1987-04-20  |  3KB  |  126 lines

  1.           COLORSET (Automatic Color Setter)      Charlie Butrico
  2.           Command
  3.           Copyright (c) 1986, Ziff-Davis Publishing Co.
  4.           ______________________________________________________
  5.  
  6.           Purpose:  Memory-resident utility that sets the
  7.                     foreground, background, and border colors on
  8.                     color systems, and prevents attempts by
  9.                     applications software to reset these colors
  10.                     to gray-on-black.
  11.  
  12.           Format:   [d:][path]COLORSET FG/BG BORD
  13.  
  14.           Remarks:  While dozens of small programs can set your
  15.                     screen colors, many popular programs (such as
  16.                     dBASE II) will reset them to a drab gray-on-
  17.                     black.  The first time you execute COLORSET,
  18.                     it will set your colors, remain in memory,
  19.                     look for such resetting instructions, and
  20.                     will instead set the colors to the ones you
  21.                     specified. Later executions of COLORSET will
  22.                     update the attributes only.
  23.  
  24.                     FG/BG is the foreground and background color
  25.                     (a decimal number from 0 to 255).  To
  26.                     calculate FG/BG, multiply the number of the
  27.                     background color by 16 and add the number of
  28.                     the foreground color to it.
  29.  
  30.           Example:  The FG/BG number for blue text on a white
  31.                     background is 113, i.e., ( (7*16) + 1 ).
  32.  
  33.                     The number for red text on a cyan background
  34.                     is 52, i.e., ( (3*16) + 4 ).
  35.  
  36.                     BORD is the border number (a decimal number
  37.                     from 0 to 15).
  38.  
  39.                     Keying just one number or using COLORSET on
  40.                     an EGA will change only the foreground and
  41.                     background colors.
  42.  
  43.                     After running COLORSET, the DOS CLS command
  44.                     will clear the screen to the colors you chose
  45.                     rather than to the default DOS gray-on-black.
  46.  
  47.                     Notes:
  48.  
  49.                     1.   DOS does not permit you to use bright
  50.                          background colors; trying a FG/BG number
  51.                          higher than 127 will produce text that
  52.                          blinks.
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.                                  Page -1-
  63.  
  64.                     2.   ======== COLOR CHART =========
  65.  
  66.                          0-Black        8-Gray
  67.                          1-Blue         9-Bright Blue
  68.                          2-Green       10-Bright Green
  69.                          3-Cyan        11-Bright Cyan
  70.                          4-Red         12-Bright Red
  71.                          5-Magenta     13-Bright Magenta
  72.                          6-Brown       14-Yellow
  73.                          7-White       15-Bright White
  74.  
  75.  
  76.  
  77.  
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.                                  Page -2-
  126.